import request from "@/request/api"
export function pageUnit(pageInfo:object){
        return request({
                url:'/unit',
                method:'get',
                params:{
                        pageInfo
                }
        })
}

export function pagedetail(id:any){
        return request({
                url:'/unitdetails',
                method:'get',
                params:{
                        id
                }
        })
}